<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
    <%@include file="../../../static/common/common.jsp" %>
    <script src="/static/js/collectionManager.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="collectionManager_datagrid"></table>
<div id="collectionManager_btns">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
        <a id="edit_btn" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a id="audit_btn" class="easyui-linkbutton" data-options="iconCls:'icon-mini-edit',plain:true"
       data-cmd="audit">审核</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <input class="easyui-textbox" name="keyword" prompt="请输入用户名或真实名称或电话">
    <input class="easyui-combobox"
           data-options="url:'/dept/selectAll.do',valueField:'id',textField:'name',panelHeight:'auto'" name="deptId">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query"></a>
</div>
<div id="save_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="collectionManager_dialog">
    <form id="collectionManager_form" method="post">
        <input id="collectionManagerId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">
            <tr>
                <td>学员姓名:</td>
                <td><input class="easyui-combobox" name="formalStudent.id" id="student_combobox"
                data-options="url:'/formalStudent/selectAllPayed.do',valueField:'id',textField:'name',panelHeight:'auto' "></td>
            </tr>
            <tr id="password_tr">
                <td>班级:</td>
                <td><input id="class_combobox" class="easyui-combobox" name="formalStudent.intentionClass.id" readonly="true"
                           data-options="url:'/classRoom/selectAll.do',valueField:'id',textField:'className',panelHeight:'auto' "></td>
            </tr>
            <tr>
                <td>收款时间:</td>
                <td><input class="easyui-datebox" name="collectionTime"></td>
            </tr>
            <tr>
                <td>收款金额:</td>
                <td><input class="easyui-textbox" name="collectionAmount"></td>
            </tr>
            <tr>
                <td>未缴学费:</td>
                <td><input id="debt_textbox" class="easyui-textbox" name="formalStudent.salemen.debt" readonly="true"></td>
            </tr>
            <tr>
                <td>收款类型:</td>
                <td><input class="easyui-combobox" name="collectionType.id"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=paymentType',valueField:'id',textField:'name',panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>收款人:</td>
                <td><input class="easyui-combobox" name="receiver.id"
                                   data-options="url:'/employee/getByTeacherRoleSn.do?sn=accountant',valueField:'id',textField:'realname',panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>单据号:</td>
                <td><input class="easyui-textbox" name="no"></td>
            </tr>
            <tr>
                <td>营销人员:</td>
                <td><input id="salemen_combobox" class="easyui-combobox" name="formalStudent.salemen.id" readonly="true"
                           data-options="url:'/employee/selectAll.do',valueField:'id',textField:'realname',panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>备注:</td>
                <td><input class="easyui-textbox" name="remark">
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>
